package ru.monyag.android.vibralarm.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import static ru.monyag.android.vibralarm.R.id.main_button_new_alarm;
import static ru.monyag.android.vibralarm.R.layout.main;

public class StartAlarmActivity extends Activity {
    /**
     * Called when the activity is first created.
     */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(main);

        findViewById(main_button_new_alarm).setOnClickListener(new View.OnClickListener() {
            public void onClick(View view) {
                startActivity(new Intent(StartAlarmActivity.this, EditAlarmActivity.class));
            }
        });
    }
}
